﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clien/Masterclien.master" AutoEventWireup="true"
    CodeFile="DetailsNews.aspx.cs" Inherits="Clien_DetailsNews" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="NewsMenu">
        <div class="MenuNews">
            <a href="News.aspx">UNIVERSITY NEWS</a></div>
    </div>
    <div style="float: left; width: 790px; margin-top: 10px; border: 0px">
        <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource2">
            <ItemTemplate>
                <div class="BoxCenter2">
                    <div class="TitleNews" style="font-size: 30px;">
                        <asp:LinkButton ID="title" Font-Overline="false" runat="server"><%# Eval("title")%></asp:LinkButton>
                    </div>
                    <div class="TextNews" style="font-size: 15px; height: auto">
                        <a>
                            <%# Eval("dateUp")%></a>
                        <%# Eval("contentSummary")%>
                    </div>
                    <div class="ImgDetailsNews">
                        <img src="<%#"../" + Eval("imageNews") %> " width=450px; height="350px" />
                    </div>
                    <div class="TextDetailsNews">
                        <%# Eval("content")%>
                    </div>
                </div>
            </ItemTemplate>
        </asp:DataList>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="ShowNewsDetails"
            TypeName="Service.Service">
            <SelectParameters>
                <asp:QueryStringParameter Name="code" QueryStringField="code" Type="Int32" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <%-- <asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="125px" AutoGenerateRows="False"
            DataSourceID="ObjectDataSource1">
            <FooterTemplate>
                <div class="BoxCenter2">
                    <div class="TitleNews" style="font-size: 30px;">
                        <asp:LinkButton ID="title" Font-Overline="false" runat="server"><%# Eval("title")%></asp:LinkButton>
                    </div>
                    <div class="TextNews" style="font-size: 15px; height: auto">
                        <a>
                            <%# Eval("dateUp")%></a>
                        <%# Eval("contentSummary")%>
                    </div>
                    <div class="ImgDetailsNews">
                        <asp:Image ID="Image1" runat="server" Height="138px" ImageUrl='<%#"~/Image/" + Eval("imageNews") %>'
                            Width="108px" />
                    </div>
                    <div class="TextDetailsNews">
                        <%# Eval("content")%>
                    </div>
                </div>
            </FooterTemplate>
        </asp:DetailsView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="ShowNewsDetails"
            TypeName="Service.Service">
            <SelectParameters>
                <asp:QueryStringParameter Name="code" QueryStringField="code" Type="Int32" />
            </SelectParameters>
        </asp:ObjectDataSource>--%>
    </div>
    <div class="RightBox">
        <div class="DetailRightBox">
            <div class="TitelRightBox">
                GATEWAYS FOR...
            </div>
            <div class="U">
            </div>
            <div class="BoxImgRight">
                <div class="ImgRight">
                    <img src="../Img/gateways.jpg" />
                </div>
            </div>
            <div class="TextRightBox">
                 <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">» Students</asp:LinkButton>
            </div>
            <div class="TextRightBox">
                <a href="../Admin/LoginAdmin.aspx">» Admin</a>
            </div>
            <div class="TitelRightBox">
                TOP DESTINATIONS
            </div>
            <div class="U">
            </div>
            <div class="BoxImgRight">
                <div class="ImgRight">
                    <img src="../Img/top_destinations.png" />
                </div>
            </div>
            <div class="Text2RightBox">
                SCHOOLS & DEPARTMENTS
            </div>
            <div class="TextRightBox">
                    <a href="Departments-Business.aspx">» Business</a>
                </div>
                <div class="TextRightBox">
                    <a href="Departments-EarthScience.aspx">» Earth Sciences</a>
                </div>
                <div class="TextRightBox">
                    <a href="Departments-Education.aspx">» Education</a>
                </div>
                <div class="TextRightBox">
                    <a href="Departments-Engineering.aspx">» Engineering</a>
                </div>
                <div class="TextRightBox">
                    <a href="Departments-Humanity.aspx">» Humanities & Sciences</a>
                </div>
                <div class="TextRightBox">
                    <a href="Departments-Law.aspx">» Law</a>
                </div>
                <div class="TextRightBox">
                    <a href="Departments-Medicine.aspx">» Medicine</a>
                </div>
            <div class="Text2RightBox">
                RELATIONS & PARTNERSHIPS
            </div>
            <div class="TextRightBox">
                <a href="http://thanglong.edu.vn/Default.aspx">» Thang Long University</a>
            </div>
            <div class="TextRightBox2">
                <a>» Lucile Packard Children's</a>
            </div>
            <div class="Text2RightBox">
                LIBRARIES
            </div>
            <div class="TextRightBox2">
                <a>» ITM University Libraries</a>
            </div>
            <div class="Text2RightBox">
                RESEARCH
            </div>
            <div class="TextRightBox">
                <a>» Independent Labs</a>
            </div>
            <div class="TextRightBox2">
                <a>» Research Centers</a>
            </div>
            <div class="TitelRightBox">
                SLIDESHOW
            </div>
            <div class="U">
            </div>
            <div style="height: auto; margin-top: 10px;">
                <div class="Logo">
                    <img src="../Img/logo.png" />
                </div>
                <div class="TextRightBox" style="float: left;">
                    <a href="Slide.aspx">ITM in Pictures</a>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
